home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000247_news@newsmaster….columbia.edu _Sat Jul 4 12:36:06 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA05697
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 4 Jul 1998 12:36:06 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA06959
  7.     for kermit.misc@watsun; Sat, 4 Jul 1998 12:36:05 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: script programming questions
  12. Date: 4 Jul 1998 16:36:02 GMT
  13. Organization: Columbia University
  14. Lines: 24
  15. Message-ID: <6nllli$gb2$1@apakabar.cc.columbia.edu>
  16. References: <359E554F.3CF66C56@shifted-bytes.de>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8945
  19.  
  20. In article <359E554F.3CF66C56@shifted-bytes.de>,
  21. Michael Agbaglo  <byteshifter@shifted-bytes.de> wrote:
  22. : 1. How can I assign the output of an external command to a variable ?
  23. :
  24. This feature is available in C-Kermit 6.1, currently in Beta test:
  25.  
  26.   http://www.columbia.edu/kermit/ck61.html
  27.  
  28. and in Kermit 95 1.1.13 and later: \fcommand(external-command).
  29.  
  30. : 2. How can I make SCRIPT accepting a string w/ spaces ? e.g. {part two}
  31. : ? {} will be send :-(
  32. :
  33. See pages 459-460 of "Using C-Kermit".  Include ~s or \32 where you want
  34. a space.  Note: the SCRIPT command is a relic from the very early releases
  35. of C-Kermit, kept only for backwards compatibility.  It is not very flexible
  36. or powerful, or easy to use.  The newer methods, documented in chapters 17
  37. through 19 of the manual, are recommended instead.
  38.  
  39. : 3. How can I log I/O traffic ? TRANSACTION only seems to log my output
  40. :
  41. As explained in the manual, use LOG SESSION for this.
  42.  
  43. - Frank